package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class ProductQueryHistory implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * uuid
     *
     * @mbg.generated
     */
    private String uuid;

    /**
     * ip
     *
     * @mbg.generated
     */
    private String ip;

    /**
     * 状态：1-搜索成功 2-搜索失败
     *
     * @mbg.generated
     */
    private Integer status;

    /**
     * 平台
     *
     * @mbg.generated
     */
    private String platform;

    /**
     * 渠道
     *
     * @mbg.generated
     */
    private String channel;

    /**
     * 发布时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 搜索条件
     *
     * @mbg.generated
     */
    private String queryParam;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getQueryParam() {
        return queryParam;
    }

    public void setQueryParam(String queryParam) {
        this.queryParam = queryParam;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uuid=").append(uuid);
        sb.append(", ip=").append(ip);
        sb.append(", status=").append(status);
        sb.append(", platform=").append(platform);
        sb.append(", channel=").append(channel);
        sb.append(", createTime=").append(createTime);
        sb.append(", queryParam=").append(queryParam);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}